github.com/google/go-cmp/cmp.sliceIndex.xkey (field)

11 uses

	github.com/google/go-cmp/cmp (current package)
		compare.go#L442: 			step.vx, step.xkey = vx.Index(ix), ix
		compare.go#L444: 			step.vx, step.xkey = reflect.Value{}, -1
		path.go#L223: 	xkey, ykey int
		path.go#L231: 	case si.xkey == si.ykey:
		path.go#L232: 		return fmt.Sprintf("[%d]", si.xkey)
		path.go#L235: 		return fmt.Sprintf("[%d->?]", si.xkey)
		path.go#L236: 	case si.xkey == -1:
		path.go#L241: 		return fmt.Sprintf("[%d->%d]", si.xkey, si.ykey)
		path.go#L247: 	if si.xkey != si.ykey {
		path.go#L250: 	return si.xkey
		path.go#L262: func (si SliceIndex) SplitKeys() (ix, iy int) { return si.xkey, si.ykey }